export default function clipboard(text?: string) {
  if (!text) {
    return;
  }
  uni.setClipboardData({
    data: text,
    success() {
      uni.showToast({
        title: "复制成功",
        icon: "none"
      });
    }
  });
}
